package com.meilai.project.service.business.customer;

import com.baomidou.mybatisplus.extension.service.IService;
import com.meilai.project.controller.mini.dto.MiniCustomerInfoDTO;
import com.meilai.project.dto.workflow.WorkFlowExtraCheckDTO;
import com.meilai.project.entity.business.customer.MiniCustomerEditFlow;
import com.meilai.project.vo.business.customer.MiniCustomerEditFlowVO;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author xhy
 * @since 2022-11-06
 */
public interface MiniCustomerEditFlowService extends IService<MiniCustomerEditFlow> {
    // 获取详情
    MiniCustomerEditFlowVO getOneById(Long id);

    // 保存
    boolean save(MiniCustomerInfoDTO dto);

    // 提交
    boolean begin(MiniCustomerInfoDTO dto);

    // 通过
    boolean pass(WorkFlowExtraCheckDTO dto);

    // 驳回
    boolean returnBack(WorkFlowExtraCheckDTO dto);

    // 删除
    boolean delete(Long id);

    // 彻底删除
    boolean actualDelete(Long id);
}
